#ifndef SYSINFOTHREAD_H
#define SYSINFOTHREAD_H

#include <QMap>
#include <QObject>
#include <QThread>

class SysInfoThread : public QThread
{
    Q_OBJECT
public:
    explicit SysInfoThread(QObject *parent = nullptr);

    QStringList list;
    QString memFree;
    QString cpuUsed;
    QString cpuTemp;

signals:
    void tempError(QString temp);

    // QThread interface
protected:
    virtual void run() override;
};

#endif // SYSINFOTHREAD_H
